Warning (2): file_get_contents(/var/www/html/api-transparencia.durangocapital.gob.mx/app/disk/Archivos/202103/603ee5f555b167.91081859): failed to open stream: No existe el fichero o el directorio [APP/Controller/Component/FilesComponent.php, line 114]Code Context 'type' => $MimeType['type'],
'mimetype' => $MimeType['mimetype'],
'data' => file_get_contents($this->settings['directory'] . $File['path'] . DS . $File['uid']),
$_file_id = '77463'
$result = false
$array_data = array(
'File' => array(
'uid' => '603ee5f555b167.91081859',
'name' => 'TOMO I.pdf',
'size' => '14117060',
'path' => '202103',
'created' => '2021-03-02 19:27:17',
'modified' => '2021-03-02 19:27:17'
),
'MimeType' => array(
'type' => 'other',
'mimetype' => 'application/pdf'
)
)
$File = array(
'uid' => '603ee5f555b167.91081859',
'name' => 'TOMO I.pdf',
'size' => '14117060',
'path' => '202103',
'created' => '2021-03-02 19:27:17',
'modified' => '2021-03-02 19:27:17'
)
$MimeType = array(
'type' => 'other',
'mimetype' => 'application/pdf'
)
file_get_contents - [internal], line ??
FilesComponent::_load_file() - APP/Controller/Component/FilesComponent.php, line 114
FilesComponent::load() - APP/Controller/Component/FilesComponent.php, line 23
FilesComponent::download() - APP/Controller/Component/FilesComponent.php, line 358
ApiMainController::preview() - APP/Plugin/SitioWebV1/Controller/ApiMainController.php, line 520
AppController::execute() - APP/Controller/AppController.php, line 319
DispatcherController::dispatcher() - APP/Controller/DispatcherController.php, line 93
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/api-transparencia.durangocapital.gob.mx/lib/Cake/Utility/Debugger.php:795) [APP/Controller/Component/FilesComponent.php, line 574]Code Context private function output_header(){
ob_get_clean();
header("Content-Type: {$this->file_mimetype}");
header - [internal], line ??
FilesComponent::output_header() - APP/Controller/Component/FilesComponent.php, line 574
FilesComponent::output_stream() - APP/Controller/Component/FilesComponent.php, line 388
FilesComponent::download() - APP/Controller/Component/FilesComponent.php, line 373
ApiMainController::preview() - APP/Plugin/SitioWebV1/Controller/ApiMainController.php, line 520
AppController::execute() - APP/Controller/AppController.php, line 319
DispatcherController::dispatcher() - APP/Controller/DispatcherController.php, line 93
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/api-transparencia.durangocapital.gob.mx/lib/Cake/Utility/Debugger.php:795) [APP/Controller/Component/FilesComponent.php, line 575]Code Context ob_get_clean();
header("Content-Type: {$this->file_mimetype}");
header("Cache-Control: max-age=2592000, public");
header - [internal], line ??
FilesComponent::output_header() - APP/Controller/Component/FilesComponent.php, line 575
FilesComponent::output_stream() - APP/Controller/Component/FilesComponent.php, line 388
FilesComponent::download() - APP/Controller/Component/FilesComponent.php, line 373
ApiMainController::preview() - APP/Plugin/SitioWebV1/Controller/ApiMainController.php, line 520
AppController::execute() - APP/Controller/AppController.php, line 319
DispatcherController::dispatcher() - APP/Controller/DispatcherController.php, line 93
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/api-transparencia.durangocapital.gob.mx/lib/Cake/Utility/Debugger.php:795) [APP/Controller/Component/FilesComponent.php, line 576]Code Context header("Content-Type: {$this->file_mimetype}");
header("Cache-Control: max-age=2592000, public");
header("Expires: ".gmdate('D, d M Y H:i:s', time()+2592000) . ' GMT');
header - [internal], line ??
FilesComponent::output_header() - APP/Controller/Component/FilesComponent.php, line 576
FilesComponent::output_stream() - APP/Controller/Component/FilesComponent.php, line 388
FilesComponent::download() - APP/Controller/Component/FilesComponent.php, line 373
ApiMainController::preview() - APP/Plugin/SitioWebV1/Controller/ApiMainController.php, line 520
AppController::execute() - APP/Controller/AppController.php, line 319
DispatcherController::dispatcher() - APP/Controller/DispatcherController.php, line 93
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/api-transparencia.durangocapital.gob.mx/lib/Cake/Utility/Debugger.php:795) [APP/Controller/Component/FilesComponent.php, line 577]Code Context header("Cache-Control: max-age=2592000, public");
header("Expires: ".gmdate('D, d M Y H:i:s', time()+2592000) . ' GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s', strtotime($this->file_modified)).' GMT');
header - [internal], line ??
FilesComponent::output_header() - APP/Controller/Component/FilesComponent.php, line 577
FilesComponent::output_stream() - APP/Controller/Component/FilesComponent.php, line 388
FilesComponent::download() - APP/Controller/Component/FilesComponent.php, line 373
ApiMainController::preview() - APP/Plugin/SitioWebV1/Controller/ApiMainController.php, line 520
AppController::execute() - APP/Controller/AppController.php, line 319
DispatcherController::dispatcher() - APP/Controller/DispatcherController.php, line 93
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/api-transparencia.durangocapital.gob.mx/lib/Cake/Utility/Debugger.php:795) [APP/Controller/Component/FilesComponent.php, line 580]Code Context $this->start = 0;
$this->end = $this->file_size - 1;
header("Accept-Ranges: 0-".$this->end);
header - [internal], line ??
FilesComponent::output_header() - APP/Controller/Component/FilesComponent.php, line 580
FilesComponent::output_stream() - APP/Controller/Component/FilesComponent.php, line 388
FilesComponent::download() - APP/Controller/Component/FilesComponent.php, line 373
ApiMainController::preview() - APP/Plugin/SitioWebV1/Controller/ApiMainController.php, line 520
AppController::execute() - APP/Controller/AppController.php, line 319
DispatcherController::dispatcher() - APP/Controller/DispatcherController.php, line 93
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/api-transparencia.durangocapital.gob.mx/lib/Cake/Utility/Debugger.php:795) [APP/Controller/Component/FilesComponent.php, line 581]Code Context $this->end = $this->file_size - 1;
header("Accept-Ranges: 0-".$this->end);
header('Content-Disposition: inline; filename="'.$this->file_name.'"');
header - [internal], line ??
FilesComponent::output_header() - APP/Controller/Component/FilesComponent.php, line 581
FilesComponent::output_stream() - APP/Controller/Component/FilesComponent.php, line 388
FilesComponent::download() - APP/Controller/Component/FilesComponent.php, line 373
ApiMainController::preview() - APP/Plugin/SitioWebV1/Controller/ApiMainController.php, line 520
AppController::execute() - APP/Controller/AppController.php, line 319
DispatcherController::dispatcher() - APP/Controller/DispatcherController.php, line 93
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/api-transparencia.durangocapital.gob.mx/lib/Cake/Utility/Debugger.php:795) [APP/Controller/Component/FilesComponent.php, line 614]Code Context header("Content-Range: bytes $this->start-$this->end/".$this->file_size);
} else {
header("Content-Length: ".$this->file_size);
header - [internal], line ??
FilesComponent::output_header() - APP/Controller/Component/FilesComponent.php, line 614
FilesComponent::output_stream() - APP/Controller/Component/FilesComponent.php, line 388
FilesComponent::download() - APP/Controller/Component/FilesComponent.php, line 373
ApiMainController::preview() - APP/Plugin/SitioWebV1/Controller/ApiMainController.php, line 520
AppController::execute() - APP/Controller/AppController.php, line 319
DispatcherController::dispatcher() - APP/Controller/DispatcherController.php, line 93
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110